<template>
  <div class="user">
    <div class="not-login s-bg"
         v-show="false">
      <p>登录网易云音乐，可以享受无限收藏的乐趣，并且无限同步到手机</p>
      <button>用户登录</button>
    </div>
    <div class="s-bg islogin">
      <div class="is-top">
        <img src=""
             alt="">
        <div class="is-top-right">
          <h3>昵称</h3><span class="svip"></span>
          <div class="gread">7</div>
          <button>签到</button>
        </div>
      </div>
      <div class="is-bottom">
        <span><i>1</i> <br />动态</span>
        <span></span>
        <span><i>2</i> <br />关注</span>
        <span></span>
        <span><i>3</i> <br />粉丝</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style lang="less" scoped>
.user {
  .s-bg {
    background: url(../assets/image/index.png) no-repeat 0 9999px;
    background-position: 0 0;
  }
  .not-login {
    width: 250px;
    height: 126px;
    p {
      margin: 0 22.5px;
      padding: 16px 0;
      line-height: 22px;
      width: 205px;
      margin: 0 auto;
      color: #666;
      font-size: 12px;
      text-align: left;
    }
    button {
      margin: 0 auto;
      display: block;
      width: 100px;
      height: 31px;
      line-height: 31px;
      text-align: center;
      color: #fff;
      text-shadow: 0 1px 0 #8a060b;
      background: url(../assets/image/index.png) no-repeat 0 9999px;
      background-position: 0 -195px;
      border: none;
      cursor: pointer;
    }
  }
  .islogin {
    width: 250px;
    height: 165px;
    background-position: 0 -270px;
    .is-top {
      text-align: left;
      img {
        width: 85.6px;
        height: 85.6px;
        margin-left: 20px;
        vertical-align: top;
      }
      .is-top-right {
        margin-left: 18px;
        display: inline-block;
        h3 {
          width: 60px;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          display: inline-block;
          font-weight: bold;
        }
        .svip {
          background: url(https://p5.music.126.net/obj/wonDlsKUwrLClGjCm8Kx/17944035934/afca/e450/85a8/a8b5ddbd13706603466c045046ef9983.png)
            no-repeat 0 9999px;
          width: 43px;
          height: 16px;
          background-size: auto 15px;
          background-position: center;
          float: right;
        }
        .gread {
          padding-left: 25px;
          color: #999;
          background: url(../assets/image/icon2.png) no-repeat 0 9999px;
          background-position: -130px -64px;
          width: 40px;
          box-sizing: border-box;
          line-height: 19px;
        }
        button {
          margin-top: 15px;
          cursor: pointer;
          width: 76px;
          height: 31px;
          border: none;
          background: url(../assets/image/button2.png) no-repeat 0 9999px;
          color: #bebebe;
          // background-color: rgba(0, 0, 0, 0);
          background-position: right -304px;
          padding: 0;
        }
      }
    }
    .is-bottom {
      padding: 0 25px;
      margin-top: 22px;
      display: flex;
      justify-content: space-between;
      span {
        color: #666;
        cursor: pointer;
        display: inline-block;
      }
    }
  }
}
</style>